package cn.jd.basic.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MailDto {
    @NotBlank(message = "邮箱不能为空")
    // 邮箱号
   private String email;
    @NotBlank(message = "图形验证码不能为空")
    //图形验证码
   private String mailimageCodeValue;
    @NotBlank(message = "图形验证码key不能为空")
  // 图片验证码的key
   private String mailimageCodeKey;
}
